/*
 * Base class for application Actions
 */

package org.puresilk.app;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.puresilk.afx.web.SilkAfxAction;

/**
 * Provides default implementation methods for Action
 * Interface and can be used as ancestor for all of the
 * application Action classes.
 *  
 * @author david
 *
 */
public class SilkAction extends SilkAfxAction {


	@Override
	public String execute(HttpServletRequest req) {
		// check for specific content
		
		return "/index.jsp";
	
	}
	
	@Override
	public String execute(HttpServletRequest req, HttpServletResponse resp) {
		req.setAttribute("_response_", resp);
		return execute(req);
	}

}
